module.exports = {
  presets: [
    [
      '@vue/app',
      //   '@vue/cli-plugin-babel/preset',
      {
        // useBuiltIns: 'entry',
        useBuiltIns: 'entry',
        polyfills: ['es6.promise', 'es6.symbol'],
        // polyfills: ['es6.promise', 'es6.symbol', 'es6.promise.finally'],
      },
    ],
  ],
  plugins: [
    [
      'import',
      {
        libraryName: 'ant-design-vue',
        libraryDirectory: 'es',
        // style: true, // `style: true` 会加载 less 文件
      },
    ],
  ],
};
